﻿using DOM;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BLM
{
    public class CustomerFactory : BLMFactory<Customer>
    {
        public Customer getCustomerById(int id)
        {
            return Table.Where(c => c.Id == id).SingleOrDefault();
        }
    }
}
